<template>
	<view class="waitForTeacher">
		<video style="width: 100vw;" :src="liveUrl" controls></video>
	</view>
</template>

<script>
	export default {
		name: 'waitForTeacher',
		data() {
			return {
				liveUrl: null
			};
		},
		onLoad(parmas) {
			this.liveUrl = `rtmp://${parmas.ip}:1935/live/test1`
		},
		methods: {
			
		}
	};
</script>

<style lang="scss">
	input, button{
		width: 90%;
		height: 100rpx;
		border: 1rpx solid #CCCCCC;
		margin: auto;
		margin-top: 30rpx;
		border-radius: 20rpx;
		padding-left: 20rpx;
		padding-right: 20rpx;
	}
	button{
		border: none;
	}
</style>
